from django.conf.urls import url

from verifications import views
from verifications.views import SmsCodeView

urlpatterns = [
    # 配置url路由,发送短信验证码是单独的路由
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$',SmsCodeView.as_view()),
    url(r'^image_codes/(?P<image_code_id>.+)/$',views.GetImageCode.as_view()),
]

